<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voodoo Shader Framework: K:/VoodooShader/Framework/Meta.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>K:/VoodooShader/Framework/Meta.hpp</h1><a href="_meta_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 <span class="preprocessor">#ifndef VOODOO_META_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define VOODOO_META_HPP</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span>
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef VOODOO_IMPORT</span>
<a name="l00006"></a><a class="code" href="_meta_8hpp.html#a64a3622e4b9bb13e6e7a451bfaa84a48">00006</a> <span class="preprocessor"></span><span class="preprocessor">#       define VOODOO_API __declspec(dllexport)</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#       define VOODOO_API __declspec(dllimport)</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="comment">// Hide the DLL-interface warnings</span>
<a name="l00012"></a>00012 <span class="preprocessor">#pragma warning(disable:4251)</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="_includes_8hpp.html">Includes.hpp</a>&quot;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="keyword">namespace </span>VoodooShader
<a name="l00017"></a>00017 {
<a name="l00018"></a>00018         <span class="keyword">class </span>Core;
<a name="l00019"></a>00019         <span class="keyword">class </span>Adapter;
<a name="l00020"></a>00020         <span class="keyword">class </span>Logger;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022         <span class="keyword">class </span>FullscreenManager;
<a name="l00023"></a>00023         <span class="keyword">class </span>MaterialManager;
<a name="l00024"></a>00024 
<a name="l00025"></a>00025         <span class="keyword">class </span>Shader;
<a name="l00026"></a>00026         
<a name="l00027"></a>00027         <span class="keyword">class </span>Technique;
<a name="l00028"></a>00028         <span class="keyword">class </span>Pass;
<a name="l00029"></a>00029         <span class="keyword">class </span>Parameter;
<a name="l00030"></a>00030 
<a name="l00031"></a>00031         <span class="keyword">class </span>Texture;
<a name="l00032"></a>00032 
<a name="l00033"></a>00033         <span class="keyword">class </span>Exception;
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="_meta_8hpp.html#a3ea21531e84c90ff57c243eef463266b">00035</a> <span class="preprocessor">#define Throw(x, y) throw Exception(x, y, __FILE__, __FUNCTION__, __LINE__);</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037         <span class="comment">// Shader collections</span>
<a name="l00038"></a><a class="code" href="namespace_voodoo_shader.html#a9c26beae2e5e3148d62e92e0dd3c27fc">00038</a>         <span class="keyword">typedef</span> std::map&lt;std::string, Shader*&gt;          <a class="code" href="namespace_voodoo_shader.html#a9c26beae2e5e3148d62e92e0dd3c27fc">ShaderMap</a>;
<a name="l00039"></a><a class="code" href="namespace_voodoo_shader.html#a29443a5196e7ce48470745b35070b414">00039</a>         <span class="keyword">typedef</span> std::list&lt;Shader*&gt;                                      <a class="code" href="namespace_voodoo_shader.html#a29443a5196e7ce48470745b35070b414">ShaderList</a>;
<a name="l00040"></a><a class="code" href="namespace_voodoo_shader.html#a2672eafa2dc32ea0782af912ef2feccd">00040</a>         <span class="keyword">typedef</span> std::vector&lt;Shader*&gt;                            <a class="code" href="namespace_voodoo_shader.html#a2672eafa2dc32ea0782af912ef2feccd">ShaderVector</a>;
<a name="l00041"></a>00041         <span class="comment">// Technique collections</span>
<a name="l00042"></a><a class="code" href="namespace_voodoo_shader.html#a9051c64e6b563ec063686fc328163719">00042</a>         <span class="keyword">typedef</span> std::map&lt;std::string, Technique *&gt;      <a class="code" href="namespace_voodoo_shader.html#a9051c64e6b563ec063686fc328163719">TechniqueMap</a>;
<a name="l00043"></a><a class="code" href="namespace_voodoo_shader.html#a3f7af40087aab3eaced2f4e178a59a32">00043</a>         <span class="keyword">typedef</span> std::list&lt;Technique *&gt;                          <a class="code" href="namespace_voodoo_shader.html#a3f7af40087aab3eaced2f4e178a59a32">TechniqueList</a>;
<a name="l00044"></a><a class="code" href="namespace_voodoo_shader.html#abe7b38a0d8034906af3ec93b12c079e8">00044</a>         <span class="keyword">typedef</span> std::vector&lt;Technique *&gt;                        <a class="code" href="namespace_voodoo_shader.html#abe7b38a0d8034906af3ec93b12c079e8">TechniqueVector</a>;
<a name="l00045"></a>00045         <span class="comment">// Pass collections</span>
<a name="l00046"></a><a class="code" href="namespace_voodoo_shader.html#a082cc14de4ba9dc9c5e5848bc1b50089">00046</a>         <span class="keyword">typedef</span> std::map&lt;std::string, Pass *&gt;           <a class="code" href="namespace_voodoo_shader.html#a082cc14de4ba9dc9c5e5848bc1b50089">PassMap</a>;
<a name="l00047"></a><a class="code" href="namespace_voodoo_shader.html#ae64cd2811cb120ba74ebe2fb5bce5197">00047</a>         <span class="keyword">typedef</span> std::list&lt;Pass *&gt;                                       <a class="code" href="namespace_voodoo_shader.html#ae64cd2811cb120ba74ebe2fb5bce5197">PassList</a>;
<a name="l00048"></a><a class="code" href="namespace_voodoo_shader.html#a787c1788fcf693206f0e6f93dd54db63">00048</a>         <span class="keyword">typedef</span> std::vector&lt;Pass *&gt;                                     <a class="code" href="namespace_voodoo_shader.html#a787c1788fcf693206f0e6f93dd54db63">PassVector</a>;
<a name="l00049"></a>00049         <span class="comment">// Parameter collections</span>
<a name="l00050"></a><a class="code" href="namespace_voodoo_shader.html#aa43e8da8b171ac23bef69d1d47edd7bd">00050</a>         <span class="keyword">typedef</span> std::map&lt;std::string, Parameter *&gt;      <a class="code" href="namespace_voodoo_shader.html#aa43e8da8b171ac23bef69d1d47edd7bd">ParameterMap</a>;
<a name="l00051"></a><a class="code" href="namespace_voodoo_shader.html#a9b7fa3c889a77e729e9581c5ecf4b2bf">00051</a>         <span class="keyword">typedef</span> std::list&lt;Parameter *&gt;                          <a class="code" href="namespace_voodoo_shader.html#a9b7fa3c889a77e729e9581c5ecf4b2bf">ParameterList</a>;
<a name="l00052"></a><a class="code" href="namespace_voodoo_shader.html#aa95d7157f795bb30718b1c1ba8887744">00052</a>         <span class="keyword">typedef</span> std::vector&lt;Parameter *&gt;                        <a class="code" href="namespace_voodoo_shader.html#aa95d7157f795bb30718b1c1ba8887744">ParameterVector</a>;
<a name="l00053"></a>00053         <span class="comment">// Texture collections</span>
<a name="l00054"></a><a class="code" href="namespace_voodoo_shader.html#afc309ccaa660c5dcb2b01496c750247e">00054</a>         <span class="keyword">typedef</span> std::map&lt;std::string, Texture*&gt;         <a class="code" href="namespace_voodoo_shader.html#afc309ccaa660c5dcb2b01496c750247e">TextureMap</a>;
<a name="l00055"></a><a class="code" href="namespace_voodoo_shader.html#a0c4e51152a8da410b05d2677f203d7bb">00055</a>         <span class="keyword">typedef</span> std::list&lt;Texture*&gt;                                     <a class="code" href="namespace_voodoo_shader.html#a0c4e51152a8da410b05d2677f203d7bb">TextureList</a>;
<a name="l00056"></a><a class="code" href="namespace_voodoo_shader.html#ab51fa41350e492555fb3653b8774d072">00056</a>         <span class="keyword">typedef</span> std::vector&lt;Texture*&gt;                           <a class="code" href="namespace_voodoo_shader.html#ab51fa41350e492555fb3653b8774d072">TextureVector</a>;
<a name="l00057"></a>00057         <span class="comment">// Miscellaneous collections</span>
<a name="l00058"></a><a class="code" href="namespace_voodoo_shader.html#a004e3b02ae28f6baba57fa4e09b23ce8">00058</a>         <span class="keyword">typedef</span> std::map&lt;Texture *, Shader *&gt;           <a class="code" href="namespace_voodoo_shader.html#a004e3b02ae28f6baba57fa4e09b23ce8">MaterialMap</a>;
<a name="l00059"></a><a class="code" href="namespace_voodoo_shader.html#a31c03472889593f1a19c9ca694a89d6c">00059</a>         <span class="keyword">typedef</span> std::map&lt;std::string, CGeffect&gt;         <a class="code" href="namespace_voodoo_shader.html#a31c03472889593f1a19c9ca694a89d6c">CGEffectMap</a>;
<a name="l00060"></a>00060 }
<a name="l00061"></a>00061 
<a name="l00062"></a>00062 <span class="preprocessor">#endif </span><span class="comment">/*VOODOO_META_HPP*/</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Oct 14 23:18:33 2010 for Voodoo Shader Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
